package com.dqv5.demo.eureka.client.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author duqian
 * @date 2018/3/8
 */
@RestController
public class ProviderController {
    @RequestMapping(value = "/provider")
    public Object provider() {
        Map<String,String> map = new HashMap<String,String>();
        map.put("msg", "你好，世界！");
        return map;
    }
}
